package com.zrfintech.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zrfintech.domain.MgRole;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
public interface MgRoleDaoI extends BaseMapper<MgRole> {

   @Insert("INSERT INTO `mg_role` (`role_code`,`role_name`) VALUES (#{roleCode},#{roleName})")
   @Options(useGeneratedKeys = true, keyProperty = "id")
   int create(MgRole mgRole);
}
